package com.tongtong.stsuserapi.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tongtong.stsuserapi.pojo.Item;
import com.tongtong.stsuserapi.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserDao extends BaseMapper<User> {

	List<User> dynamicSelect(@Param("user") User user, @Param("page") Integer page, @Param("pageSize") Integer pageSize);

	Long dynamicSelectCount(@Param("user") User user);
}
